package cn.wolfcode.crm.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Employee {
    @ExcelIgnore
    private Long id;
    @ExcelProperty("姓名")
    private String name;
    @ExcelIgnore
    private String password;
    @ExcelProperty("年龄")
    private Integer age;
    @ExcelProperty("邮箱")
    private String email;
    @ExcelIgnore
    private boolean admin; // true false null
    @ExcelIgnore
    private Department dept;
    @ExcelIgnore
    private List<Role> roles = new ArrayList<>();

}
